<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8" />
    <title>修改上门服务费</title>
    <meta name="keywords" content="Bootstrap模版,Bootstrap模版下载,Bootstrap教程,Bootstrap中文" />
    <meta name="description" content="站长素材提供Bootstrap模版,Bootstrap教程,Bootstrap中文翻译等相关Bootstrap插件下载" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />

    <!-- basic styles -->

    <link href="assets/css/bootstrap.min.css" rel="stylesheet" />
    <link rel="stylesheet" href="assets/css/font-awesome.min.css" />
    <link rel="stylesheet"  href="assets/css/kkpager_orange.css" />
    <link rel="stylesheet"  href="assets/css/MyCss.css" />

    <!--[if IE 7]>
    <link rel="stylesheet" href="assets/css/font-awesome-ie7.min.css" />
    <![endif]-->

    <!-- page specific plugin styles -->

    <!-- ace styles -->

    <link rel="stylesheet" href="assets/css/ace.min.css" />
    <link rel="stylesheet" href="assets/css/ace-rtl.min.css" />
    <link rel="stylesheet" href="assets/css/ace-skins.min.css" />
    <link rel="stylesheet"  href="assets/css/jquery.datetimepicker.css" />

    <!--[if lte IE 8]>
    <link rel="stylesheet" href="assets/css/ace-ie.min.css" />
    <![endif]-->

    <!-- inline styles related to this page -->

    <!-- ace settings handler -->

    <script src="assets/js/ace-extra.min.js"></script>
    <script src="/resources/jquery/jquery-2.2.3.min.js"></script>
    <script src="/resources/jquery.datetimepicker1.js"></script>

    <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <style>
        .panel-heading
        {
            position: relative;
        }
        .map
        {
            position: absolute;
            top:20%;
            right: 10px;
        }
    </style>
    <!--[if lt IE 9]>
    <script src="assets/js/html5shiv.js"></script>
    <script src="assets/js/respond.min.js"></script>
    <![endif]-->
</head>

<body >
<div class="main-container" id="main-container">
    <script type="text/javascript">
        try{ace.settings.check('main-container' , 'fixed')}catch(e){}
    </script>

    <div class="main-container-inner">
        <a class="menu-toggler" id="menu-toggler" href="#">
            <span class="menu-text"></span>
        </a>


    <#include "left_list_menu.ftl">
        <div class="main-content">
            <div class="breadcrumbs" id="breadcrumbs">
                <script type="text/javascript">
                    try{ace.settings.check('breadcrumbs' , 'fixed')}catch(e){}
                </script>
                <ul class="breadcrumb">
                    <li>
                        <i class="icon-home home-icon"></i>
                        上门服务费管理
                    </li>


                </ul><!-- .breadcrumb -->

            </div>
            <div class="page-content">


<form action="updateIndoorPrice" style="text-align: center;width: auto;height: auto" method="post" onsubmit="return updateindoor()">
    <table align="center">
        <tr>
            <th>当前上门服务费</th>
            <th>修改时间</th>
            <th>操作</th>
        </tr>

    <tr>
        <td>
  <input type="text" name="indoor_price" id="price" value="${indoor_price !""}"/>
        </td>
        <td>
    <input type="datetime-local" name="updateTime" value="${updateTime !""}" readonly="readonly"/>
        </td>
        <td>
    <input type="submit" style="color: #0b6cbc" value="提交" />
        </td>
    </tr>

    </table>

</form>

            </div>


        </div>
    </div>
</div>
<script>
    var s = document.getElementById("price").value;
    function updateindoor(){
    if(s==null||s==""){
        alert("价格不能为空!");
    return false;
    }else {
        alert("更新成功！");
        return true;
    }

    }



</script>

<a href="#" id="btn-scroll-up" class="btn-scroll-up btn btn-sm btn-inverse">
    <i class="icon-double-angle-up icon-only bigger-110"></i>
</a>


<script type="text/javascript">
    window.jQuery || document.write("<script src='assets/js/jquery-2.0.3.min.js'>"+"<"+"/script>");
</script>



<script type="text/javascript">
    if("ontouchend" in document) document.write("<script src='assets/js/jquery.mobile.custom.min.js'>"+"<"+"/script>");
</script>
<script type="text/javascript" src="assets/js/jquery-1.10.2.min.js"></script>
<script src="assets/js/bootstrap.min.js"></script>
<script src="assets/js/typeahead-bs2.min.js"></script>

<!-- page specific plugin scripts -->

<script src="assets/js/jquery.dataTables.min.js"></script>
<script src="assets/js/jquery.dataTables.bootstrap.js"></script>

<!-- ace scripts -->

<script src="assets/js/ace-elements.min.js"></script>
<script src="assets/js/ace.min.js"></script>

<script type="text/javascript" src="assets/js/kkpager.min.js"></script>
<script src="assets/js/myJs.js"></script>
<script src="assets/js/jquery.datetimepicker.js"></script>

<!-- inline scripts related to this page -->

<script src="assets/js/jquery.cookie.js"></script>
<script type="text/javascript">
    window.onload=function(){
        var name = $.cookie('username');
        if (name == '' || name == null || typeof(name)=="undefined"){
            document.getElementById("user_name").innerText="unknown user";
            alert("请先登录");
            window.location.href='login';
        }

        document.getElementById("user_name").innerText=name;
    }


    $('[data-rel="tooltip"]').tooltip({placement: tooltip_placement});
    function tooltip_placement(context, source) {
        var $source = $(source);
        var $parent = $source.closest('table')
        var off1 = $parent.offset();
        var w1 = $parent.width();

        var off2 = $source.offset();
        var w2 = $source.width();

        if( parseInt(off2.left) < parseInt(off1.left) + parseInt(w1 / 2) ) return 'right';
        return 'left';
    }


</script>


<script type="text/javascript">
    window.jQuery || document.write("<script src='assets/js/jquery-1.10.2.min.js'>"+"<"+"/script>");
</script>

<script type="text/javascript">



</script>
<script type="text/javascript">



</body>
</html>